enum Direction {
    Up,
    Down ,
    Left,
    Right
}
function change(direction:Direction) {

}
change(Direction.Left);
console.log(typeof Direction.Left);
